package com.logos.mapper;
import java.util.List;
import com.logos.entity.User;
import org.apache.ibatis.annotations.Param;

import com.logos.entity.MpxTest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author rose
* @description 针对表【mpx_test】的数据库操作Mapper
* @createDate 2024-12-16 12:55:18
* @Entity com.logos.entity.MpxTest
*/
public interface MpxTestMapper extends BaseMapper<MpxTest> {

    int insertSelective(MpxTest mpxTest);

    int deleteByIdAndName(@Param("id") Long id, @Param("name") String name);

    int updateAgeAndEmailById(@Param("age") Integer age, @Param("email") String email, @Param("id") Long id);

    List<MpxTest> selectAgeAndEmailByAgeBetween(@Param("beginAge") Integer beginAge, @Param("endAge") Integer endAge);

    List<MpxTest> selectAllOrderByAgeDesc();

}




